﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using Entity;
using System.Data;

namespace BUS
{
    public class QuanLyNCCBUS
    {
        public static DataTable LayDanhSachNCC()
        {
            return QuanLyNCCDAO.LayDanhSachNCC();
        }

        public static void SuaNCC(NhaCungCap ncc)
        {
            QuanLyNCCDAO.SuaNCC(ncc);
        }

        public static void XoaNCC(Int32 mancc)
        {
            QuanLyNCCDAO.XoaNCC(mancc);
        }

        public static void ThemNCC(NhaCungCap ncc)
        {
            QuanLyNCCDAO.ThemNCC(ncc);
        }
    }
}
